import my_struct
a0 = my_struct.get_zero()
a1 = my_struct.get_x1y1()
dist = my_struct.distance(a0, a1)
print dist
print a0
print a1
t = my_struct.POS()
print t.x, t.y
print type(t.value)
value_array = my_struct.uint_array.frompointer(t.value)
for i in range(4):
    value_array[i] = i
my_struct.dump(t)

